package com.achievement.service;

import com.achievement.domain.dto.PaperReshipDTO;
import com.achievement.domain.entity.PaperReshipEntity;
import com.achievement.domain.vo.PaperReshipVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author CNKI
* @description 针对表【biz_paper_reship(科研成果-学术论文-论文-转载情况)】的数据库操作Service
* @createDate 2025-02-17 16:48:50
*/
public interface IPaperReshipService extends IService<PaperReshipEntity> {

    /**
     * 新增论文转载情况
     * @param dto dto
     * @return boolean
     */
    boolean addPaperReship(PaperReshipDTO dto);

    /**
     * 编辑论文转载情况
     * @param dto dto
     * @return boolean
     */
    boolean editPaperReship(PaperReshipDTO dto);

    /**
     * 删除论文转载情况
     * @param id id
     * @return boolean
     */
    boolean delPaperReship(String id);

    /**
     * 根据论文id，查询转载情况列表
     * @param id id
     * @return List<PaperReshipVO>
     */
    List<PaperReshipVO> getInfoById(String id);
}
